package org.edu.modules.kwgl.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.edu.modules.kwgl.entity.VeJwQkXuesheng;
import org.edu.modules.kwgl.mapper.VeJwQkXueshengMapper;
import org.edu.modules.kwgl.service.IVeJwQkXueshengService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 清考学生
 * @Author: jeecg-boot
 * @Date:   2021-05-08
 * @Version: V1.0
 */
@Service
public class VeJwQkXueshengServiceImpl extends ServiceImpl<VeJwQkXueshengMapper, VeJwQkXuesheng> implements IVeJwQkXueshengService {

    @Override
    public VeJwQkXuesheng getByStuidAndKcid(int stuid,int kcid) {
        return baseMapper.selectOne(new QueryWrapper<VeJwQkXuesheng>()
                .eq("kcId",kcid)
                .eq("stuId",stuid));
    }
}
